const Router = require('koa-router')
const likeRouter = new Router({prefix: '/like'})

const {
    verifyAuth,
    verifyPermission
} = require('../middleware/auth.middleware')

const {
    create,
    remove
} = require('../controller/like.controller')


likeRouter.post('/', verifyAuth, create)
// likeRouter.post('/:commentId/reply', verifyAuth, reply)
// likeRouter.patch('/:commentId', verifyAuth, verifyPermission, update)
likeRouter.delete('/', verifyAuth, remove)
 
module.exports = likeRouter
// commentRouter.post('/reply', verifyAuth, reply)


